package org.teamh.artificialIntelligence;

import java.util.Comparator;

import org.teamh.logic.datamodel.Cell;

public class CellComparator implements Comparator<Cell>{

	@Override
	public int compare(Cell o1, Cell o2) {
		if(o1.getValue() < o2.getValue()) {
			return 1;
		} else if(o1.getValue() == o2.getValue()) {
			return 0;
		}
		
		return -1;
	}

}
